import request from "@/utils/request";



// 分页查询
export const reqLoansBanksPageList = (form) => {
  return request<any, any>({
    url: '/credit/loansBank/list',
    method: 'get',
    params: form
  })
}

// 获取银行详细信息
export const reqBankInfoById = (bankId) => {
  return request<any, any>({
    url: '/credit/loansBank/info' + "/" + bankId,
    method: 'get',
  })
}


// 修改银行状态
export const reqBankChangeStatusUrl = (data) => {
  return request<any, any>({
    url: '/credit/loansBank/changeStatus',
    method: 'put',
    data: data,
  })
}
